<div class="m-l nav navbar-nav m-t block" style="width:400px;">
  <span>
		<a class="btn btn-xs btn-gray" [routerLink]="['../../']"><i class="fa fa-undo">返回</i></a>
	</span>
  <span>群组管理 ></span>
  <span>群组列表 </span>
  <span>群组详情</span>
</div>

<div class="m-t-lg">
  <div class="wrapper-sm">
    <div class="panel panel-default">
      <div class="panel-body">
        <div class="row">
          <div class="col-md-6">
            <h3 class="no-padder">基本信息</h3>
            <p>群组编号: {{data?.group?.group_number}}</p>
            <p>群组名称: {{data?.group?.group_name}}</p>
            <p>群组地址: {{data?.group?.group_address}}</p>
            <p>关联设备: {{data?.group?.group_devices}}</p>
            <p>启用状态: <span class="{{data?.group_status==0?'text-danger':'text-success'}} no-padder">{{data?.group?.group_status==0?'未':'已'}}启用</span></p>
            <p>策略名称: {{data?.group?.policy_name}} {{data?.group?policyType[data.group.policy_type]:''}}</p>
          </div>
          <div class="col-md-6">
            <h3 class="no-padder">资费策略</h3>
            <p>策略名称: {{data?.group?.policy_name}}</p>
            <p>租赁方式: {{data?.group?policyType[data.group.policy_type]:''}}</p>
            <p>大号单价: {{data?.group?.large_price}}元/小时</p>
            <p>中号单价: {{data?.group?.medium_price}}元/小时</p>
            <p>小号单价: {{data?.group?.small_price}}元/小时</p>
            <p>充电单价: {{data?.group?.charge_price}}元/小时</p>
          </div>
        </div>
        <h3>柜门属性</h3>
        <div>
          <table class="table table-hover table-striped m-b-none default footable">
            <thead>
              <th>设备编号</th>
              <th>显示码</th>
              <th>尺寸类型</th>
              <th>充电类型</th>
            </thead>
            <tbody>
              <tr *ngFor="let item of data?.doors">
                <td>{{item.locker_number}}</td>
                <td>{{item.door_name}}</td>
                <td>{{doorType[item.door_size]}}</td>
                <td>{{item.door_charge==0?'不可充电':'可充电'}}</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
</div>